export const systemSidebarRoutes = [
    {
        permissions: ['system'],
        path: '/system',
        name: 'System',
        component: () => import('@/layout/index.vue'),
        meta: {title: '系统管理', componentName: 'System', icon: 'system'},
        children: [
            {
                permissions: ['system:userManage:page'],
                path: 'user',
                component: () => import('@/views/system/user/userList.vue'),
                name: 'User',
                meta: {title: '用户管理', icon: 'user'}
            },
            {
                permissions: ['system:role:page'],
                path: 'role',
                component: () => import('@/views/system/role/roleList.vue'),
                name: 'Role',
                meta: {title: '角色管理', icon: 'peoples'}
            },
            {
                permissions: ['system:dept:list'],
                path: 'dept',
                component: () => import('@/views/system/dept/deptList.vue'),
                name: 'Dept',
                meta: {title: '部门管理', icon: 'tree-table'}
            },
            {
                permissions: ['system:loginLog:page'],
                path: 'loginLog',
                component: () => import('@/views/system/loginLog/logList.vue'),
                name: 'LoginLog',
                meta: {title: '登录日志', icon: 'peoples'}
            },
        ]
    },
]